Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Fn-Preprocessing #612

Merged
merged 4 commits into from
Nov 1, 2023
Merged

More Fn-Preprocessing #612

merged 4 commits into from
Nov 1, 2023

Conversation

Free-Quarks
Copy link
Collaborator

Expanded the function network preprocessing to handle -1's in the metadata for 'line_begin', 'line_end', 'col_begin', and 'col_end'.

Also added some checks into database.rs, to stop some crashes.

'''

# first we check the top bf level of wires and inline metadata:
keys_to_check = ['bf', 'wff', 'wfopi', 'wfopo', 'wopio']
metadata_keys_to_check = ['line_begin', 'line_end', 'col_begin', 'col_end']
for key in metadata_keys_to_check:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow. That's deep!

@Free-Quarks Free-Quarks merged commit 4a526d6 into main Nov 1, 2023
8 checks passed
@Free-Quarks Free-Quarks deleted the lieffers/code2amr/fixes4 branch November 1, 2023 11:25
github-actions bot added a commit that referenced this pull request Nov 1, 2023
Expanded the function network preprocessing to handle -1's in the
metadata for 'line_begin', 'line_end', 'col_begin', and 'col_end'.

Also added some checks into database.rs, to stop some crashes.

---------

Co-authored-by: Justin <[email protected]>
Co-authored-by: Gus Hahn-Powell <[email protected]> 4a526d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants